-- GENERATED SPELL FOR [Squeeg Idolhunter] --


function spell0_24048(pUnit, Event) --@Throw Dynamite,n/a--
pUnit:FullCastSpellOnTarget(7978,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24048', 1000, 1)
end

function Sorts_24048(pUnit, Event)
local choix_sorts_24048 = math.random(0, 0)
if choix_sorts_24048 == 0 then
pUnit:RegisterEvent('spell0_24048', 1, 1)
end
end

function mob24048_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24048', math.random(1500, 3000), 1)
end

function mob24048_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24048_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24048_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24048, 1, 'mob24048_Action')
RegisterUnitEvent(24048, 2, 'mob24048_Leave')
RegisterUnitEvent(24048, 3, 'mob24048_Kill')
RegisterUnitEvent(24048, 4, 'mob24048_Die')
